#!/bin/bash -e

source /etc/profile

CUR_PATH=`pwd`

ssh 10.10.9.51 "
    source /etc/profile
    cd $CUR_PATH/../../
    git pull
    ./deploy_fabric.sh
"
cd $CUR_PATH
go run benchmark.go async-fabric-sdk-server.go